package com.golf.comms.protocol;

/**
 * 
 * 
 * @author gfloodgate
 */
public class Message 
{

	/** The message type. */
	private final MessageType type;
	
	
	/**
	 * Create a message of a given type.
	 * 
	 * @param type The message type.
	 */
	public Message(final MessageType type)
	{
		this.type = type;
	}
	
	
	/**
	 * Get the message type.
	 * 
	 * @return The type of message.
	 */
	public MessageType getMessageType()
	{
		return type;
	}
	
}
